package com.cskaoyan.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author stone
 * @date 2022/10/07 17:12
 */
//@RestController
@Controller
public class HelloController {

    @RequestMapping("hello")//404
    public String hello() {
        return "hello javaconfig";
    }

    /*@RequestMapping("hello2")
    public BaseRespVo hello() {//404
        return BaseRespVo.ok();
    }*/
}
